﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Model
{
  public  class ViewModelBase:INotifyPropertyChanged
    {

      protected virtual void RaisePropertyChanged(string name)
      {

          if (PropertyChanged != null)
          {
              PropertyChanged(this, new PropertyChangedEventArgs(name));
          }
      }
        public event PropertyChangedEventHandler PropertyChanged;
    }
}
